package com.sservice.model.entity;

import com.sservice.urp.entity.QueryCondition;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ApplyPayBill extends QueryCondition implements Serializable {
    private static final long serialVersionUID = -4488483342147229304L;
    private Integer id;

    private String orderId;
    private String orderNo;
    private String clienteleId;
    private String unitCode;
    private String goodsId;
    private String type;

    private BigDecimal total;

    private BigDecimal actual;

    private Date createAt;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date payTime;

    private String applier;

    private String statusHesuan;

    private String statusCheck;

    private String statusPay;

    private Date hesuanTime;

    private Date checkTime;

    private Date payTime_;

    private String userHesuan;


    private String userCheck;

    private String userPay;
    private String userName;
    private String clienteleName;
    private String goodsName;
    private BigDecimal needPayTotal;// 徐现金付款金额

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public BigDecimal getTotal() {
        return total;
    }

    public void setTotal(BigDecimal total) {
        this.total = total;
    }

    public BigDecimal getActual() {
        return actual;
    }

    public void setActual(BigDecimal actual) {
        this.actual = actual;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }


    public String getApplier() {
        return applier;
    }

    public void setApplier(String applier) {
        this.applier = applier == null ? null : applier.trim();
    }

    public String getStatusHesuan() {
        return statusHesuan;
    }

    public void setStatusHesuan(String statusHesuan) {
        this.statusHesuan = statusHesuan == null ? null : statusHesuan.trim();
    }

    public String getStatusCheck() {
        return statusCheck;
    }

    public void setStatusCheck(String statusCheck) {
        this.statusCheck = statusCheck == null ? null : statusCheck.trim();
    }

    public String getStatusPay() {
        return statusPay;
    }

    public void setStatusPay(String statusPay) {
        this.statusPay = statusPay == null ? null : statusPay.trim();
    }

    public Date getHesuanTime() {
        return hesuanTime;
    }

    public void setHesuanTime(Date hesuanTime) {
        this.hesuanTime = hesuanTime;
    }

    public Date getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Date checkTime) {
        this.checkTime = checkTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getUserHesuan() {
        return userHesuan;
    }

    public void setUserHesuan(String userHesuan) {
        this.userHesuan = userHesuan == null ? null : userHesuan.trim();
    }

    public String getUserCheck() {
        return userCheck;
    }

    public void setUserCheck(String userCheck) {
        this.userCheck = userCheck == null ? null : userCheck.trim();
    }

    public String getUserPay() {
        return userPay;
    }

    public void setUserPay(String userPay) {
        this.userPay = userPay == null ? null : userPay.trim();
    }

    public Date getPayTime_() {
        return payTime_;
    }

    public void setPayTime_(Date payTime_) {
        this.payTime_ = payTime_;
    }

    public BigDecimal getNeedPayTotal() {
        return needPayTotal;
    }

    public void setNeedPayTotal(BigDecimal needPayTotal) {
        this.needPayTotal = needPayTotal;
    }

    public String getClienteleId() {
        return clienteleId;
    }

    public void setClienteleId(String clienteleId) {
        this.clienteleId = clienteleId;
    }

    public String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getClienteleName() {
        return clienteleName;
    }

    public void setClienteleName(String clienteleName) {
        this.clienteleName = clienteleName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}